package com.ddpt.platform.common.export.vo.flow;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

/**
 * 自动化营销画布导出
 *
 * @author : zhanggsc
 * @Data : 2023/3/8 9:41
 */
@Getter
@Setter
public class CanvasVo extends QueryDataVo {

    @Export("画布名称")
    private String name;

    @Export(value = "画布数据最近一次处理时间",isTime = true)
    private Long dataLastScheduledTime;

    @Export(value = "画布数据最近一次处理时间",isTime = true)
    private Long dataLastSyncTime;

    @Export("客群标识")
    private String userGroupSymbol;

    @Export(value = "客群id",isStr = true)
    private Long userGroupId;

    @Export("限制客群中途加入")
    private Integer middleAccessStatus;

    @Export(value = "画布状态",key = {"0","1","2","-1","-2"},val = {"等待发布","发布中","已发布","暂停中","已停止"})
    private Integer status;

    @Export(value = "画布开始节点的id",isStr = true)
    private Long startNodeId;

    @Export(value = "画布开启时间形式",key = {"1","2","3"}, val = {"直接","延迟","循环"})
    private Integer startType;

    @Export(value = "发布时间",isTime = true)
    private Long publishTime;

    @Export(value = "画布失效时间",isTime = true)
    private Long invalidTime;

    @Export(value = "勿扰开始时间",isTime = true)
    private String limitStartTime;

    @Export(value = "勿扰结束时间",isTime = true)
    private String limitEndTime;

    @Export("限制每个用户流程进入次数")
    private Integer limitCount;

    @Export(value = "周期类型",key = {"1","2","3","4","5","6","7"},val = {"年","月","日","时","分","秒","周"})
    private Integer cycleType;

    @Export("周期值")
    private Integer cycleValue;

    @Export("周期的时分秒")
    private String cycleDayTime;

    @Export("画布累计进入数量")
    private Long enterCount;

    @Export(value = "画布累计触达成功数量",isStr = true)
    private Long reachCount;

    @Export(value = "营销旅程id",isStr = true)
    private Long marketingJourneyInfoId;

    @Export(value = "营销旅程策略",isStr = true)

    private Long marketingJourneyStrategyId;

    @Export(value = "创建人id",isStr = true)
    private Long createUserId;

    @Export("url")
    private String previewImgUrl;

    @Export("后台TradeId")
    private Integer backstageTradeId;

    @Export(value = "是不是画布模板",key = {"0","1"},val = {"不是","是"})
    private Integer templateType;

    @Export("创建人名称")
    private String createdUserName;

    @Export(value = "节点计数",isStr = true)
    private Long startNodeEnterCount;

    @Export(value = "累积到达数",isStr = true)
    private Long cumulativeReachCount;

}
